<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="form-group">
        <label for="c-label_name" class="control-label col-xs-12 col-sm-2">{:__('Label name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-label_name" data-rule="required" class="form-control" name="row[label_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-rowicon" class="control-label col-xs-12 col-sm-2">{:__('Icon')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_image('row[icon]', '', [])}
        </div>
    </div>
    <div class="form-group">
        <label for="c-en_label_name" class="control-label col-xs-12 col-sm-2">{:__('En label name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_label_name" data-rule="required" class="form-control" name="row[en_label_name]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="c-url_id" class="control-label col-xs-12 col-sm-2">{:__('Label Url')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_selectpage('row[url_id]',"","firm/label/storeSelect")}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Label type')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[label_type]', [ '1'=>__('Top'), '2'=>__('Bottom') ], 1)}
        </div>
    </div>

    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', [ '0'=>__('Stop'), '1'=>__('Normal') ], 1)}
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed btn-reset">{:__('Reset')}</button>
        </div>
    </div>
</form>